package com.red.star.wechat.data.core.constant;

/**
 * Created by xulonglong on 2018/1/29.
 */
public final class RedisConstant {

    /**
     * websocket
     */
    public static final String WEBSOCKET_LISTENER = "WebSocket_Listener";

    public static final String SAVE_MESSAGE_LISTENER = "SaveMessage_Listener";

    /**
     * weixin
     */
    public static final Integer REDIS_DB_USER_SESSION = 1;

    public static final String ACCESS_TOKEN = "Access_Token";
    //秒为单位  1小时过期
    public static final Integer TOKEN_EXPIRY = 3600;

    public static final String TICKET = "Ticket";

    public static final String CODEURL = "Code_Url";

    public static final String WXCODEURL = "Wx_Code_Url";

    public static final String WXMESSAGEURL = "Wx_Message_Url";

    public static final Integer REDIS_DB_0 = 0;

    public static final String KEY_LOGOUT_FANS = "logout_passive_fans";

    public static final String KEY_SYNC_EMPLOYEE = "sync_employee";

    public static final String KEY_VOICE_VIRTUAL = "voice_virtual_numbers";
}
